##
## Copyright (C) 2004-2006  Autodesk, Inc.
## 
## This library is free software; you can redistribute it and/or
## modify it under the terms of version 2.1 of the GNU Lesser
## General Public License as published by the Free Software Foundation.
## 
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## Lesser General Public License for more details.
## 
## You should have received a copy of the GNU Lesser General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
##

AUTOMAKE_OPTIONS = foreign

SUBDIRS = Message Overrides Provider UnitTest

DIST_SUBDIRS = Message Overrides Provider UnitTest

EXTRA_DIST = CMSProvider.sln

lib_LTLIBRARIES = libCMSOverrides.la libCMSProvider.la

##building libCMSOverrides.so
libCMSOverrides_la_SOURCES =

# Dummy C++ source to cause C++ linking.
nodist_EXTRA_libCMSOverrides_la_SOURCES = dummy.cpp

libCMSOverrides_la_LIBADD =  \
  Overrides/libCMSOverridesSrc.la \
  $(FDOUTILITIES)/Common/libProvidersCommon.la \
  $(FDO)/Unmanaged/Src/libFDO.la

libCMSOverrides_la_LDFLAGS = \
  -shared \
  -release $(VERSION)


##building libCMSProvider.so
libCMSProvider_la_SOURCES =

# Dummy C++ source to cause C++ linking.
nodist_EXTRA_libCMSProvider_la_SOURCES = dummy.cpp

libCMSProvider_la_LIBADD =  \
  Provider/libCMSProviderSrc.la \
  $(FDO)/Unmanaged/Src/libFDO.la \
  $(FDOUTILITIES)/Common/libProvidersCommon.la \
  $(FDOUTILITIES)/OWS/libFdoOws.la  \
  libCMSOverrides.la \
  -lgdal    \
  -lpthread

libCMSProvider_la_LDFLAGS = \
  -shared \
  -release $(VERSION) \
  -L$(FDOGDAL)/lib


